package com.ahchentong.easyexcel.listener;

import com.ahchentong.easyexcel.bean.ExpertBaseEntity;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

public class ExpertBaseListener extends AnalysisEventListener<ExpertBaseEntity> {
    /**
     * 每读一行调用
     * @param expertBaseEntity
     * @param analysisContext
     */
    @Override
    public void invoke(ExpertBaseEntity expertBaseEntity, AnalysisContext analysisContext) {
        System.out.println(expertBaseEntity);
    }

    /**
     * 读取完成后调用
     * @param analysisContext
     */
    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
